package cn.edu.scau.dropship.entity;

public class Goods {
    private Integer id;

    private String title;

    private Double length;

    private Double width;

    private Double height;

    private Double weight;

    private String sku;

    private String upc;

    private String ena;

    private String model;

    private Double price;

    private String warrantyTime;

    private String ebayDescription;

    private String amazonDescription;

    private String image;

    private String state;

    private Integer classificationId;

    private Integer brandId;

    public Goods(Integer id, String title, Double length, Double width, Double height, Double weight, String sku, String upc, String ena, String model, Double price, String warrantyTime, String ebayDescription, String amazonDescription, String state, Integer classificationId, Integer brandId) {
        this.id = id;
        this.title = title;
        this.length = length;
        this.width = width;
        this.height = height;
        this.weight = weight;
        this.sku = sku;
        this.upc = upc;
        this.ena = ena;
        this.model = model;
        this.price = price;
        this.warrantyTime = warrantyTime;
        this.ebayDescription = ebayDescription;
        this.amazonDescription = amazonDescription;
        this.state = state;
        this.classificationId = classificationId;
        this.brandId = brandId;
    }

    //没id,没state
    public Goods(String title, Double length, Double width, Double height, Double weight, String sku, String upc, String ena, String model, Double price, String warrantyTime, String ebayDescription, String amazonDescription, Integer classificationId, Integer brandId) {
        this.title = title;
        this.length = length;
        this.width = width;
        this.height = height;
        this.weight = weight;
        this.sku = sku;
        this.upc = upc;
        this.ena = ena;
        this.model = model;
        this.price = price;
        this.warrantyTime = warrantyTime;
        this.ebayDescription = ebayDescription;
        this.amazonDescription = amazonDescription;
        this.classificationId = classificationId;
        this.brandId = brandId;
    }

    public Goods(Integer id, String title, Double length, Double width, Double height, Double weight, String sku, String upc, String ena, String model, Double price, String warrantyTime, String ebayDescription, String amazonDescription, String image, String state, Integer classificationId, Integer brandId) {
        this.id = id;
        this.title = title;
        this.length = length;
        this.width = width;
        this.height = height;
        this.weight = weight;
        this.sku = sku;
        this.upc = upc;
        this.ena = ena;
        this.model = model;
        this.price = price;
        this.warrantyTime = warrantyTime;
        this.ebayDescription = ebayDescription;
        this.amazonDescription = amazonDescription;
        this.image = image;
        this.state = state;
        this.classificationId = classificationId;
        this.brandId = brandId;
    }

    //没有id
    public Goods(String title, Double length, Double width, Double height, Double weight, String sku, String upc, String ena, String model, Double price, String warrantyTime, String ebayDescription, String amazonDescription, String image, String state, Integer classificationId, Integer brandId) {
        this.title = title;
        this.length = length;
        this.width = width;
        this.height = height;
        this.weight = weight;
        this.sku = sku;
        this.upc = upc;
        this.ena = ena;
        this.model = model;
        this.price = price;
        this.warrantyTime = warrantyTime;
        this.ebayDescription = ebayDescription;
        this.amazonDescription = amazonDescription;
        this.image = image;
        this.state = state;
        this.classificationId = classificationId;
        this.brandId = brandId;
    }

    public Goods(String title, Double length, Double width, Double height, Double weight, String sku, String upc, String ena, String model, Double price, String warrantyTime, String ebayDescription, String amazonDescription, String image, Integer classificationId, Integer brandId) {
        this.title = title;
        this.length = length;
        this.width = width;
        this.height = height;
        this.weight = weight;
        this.sku = sku;
        this.upc = upc;
        this.ena = ena;
        this.model = model;
        this.price = price;
        this.warrantyTime = warrantyTime;
        this.ebayDescription = ebayDescription;
        this.amazonDescription = amazonDescription;
        this.image = image;
        this.classificationId = classificationId;
        this.brandId = brandId;
    }

    public Goods() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku == null ? null : sku.trim();
    }

    public String getUpc() {
        return upc;
    }

    public void setUpc(String upc) {
        this.upc = upc == null ? null : upc.trim();
    }

    public String getEna() {
        return ena;
    }

    public void setEna(String ena) {
        this.ena = ena == null ? null : ena.trim();
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getWarrantyTime() {
        return warrantyTime;
    }

    public void setWarrantyTime(String warrantyTime) {
        this.warrantyTime = warrantyTime == null ? null : warrantyTime.trim();
    }

    public String getEbayDescription() {
        return ebayDescription;
    }

    public void setEbayDescription(String ebayDescription) {
        this.ebayDescription = ebayDescription == null ? null : ebayDescription.trim();
    }

    public String getAmazonDescription() {
        return amazonDescription;
    }

    public void setAmazonDescription(String amazonDescription) {
        this.amazonDescription = amazonDescription == null ? null : amazonDescription.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public Integer getClassificationId() {
        return classificationId;
    }

    public void setClassificationId(Integer classificationId) {
        this.classificationId = classificationId;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }
}